package one_class.three_homework;

/**
 * @author 北巷_东坡
 * @date 2022/9/16 17:22
 * @computer 10741
 */
public class three_run {
    public static void main(String[] args) {
        Animal duck=new Duck();
        Animal chicken = new Chicken();
        AnimalSound animalSound = new AnimalSound();
        animalSound.makeSound(duck);//接口调用
    }
}
